import Vue from "vue"
import VueRouter from "vue-router"
Vue.use(VueRouter)
const router =new VueRouter({
	routes:[
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path: '/company',
					name: 'company',
					component: ()=>import('../views/company/index.vue')
				}
			]
		},
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path:"/group",
					name: 'group',
					component:()=>import("../views/group/index.vue")
				}
			]
		},
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path:"/safetyReport",
					name: 'safetyReport',
					component:()=>import("../views/safetyReport/safetyReport.vue")
				}
			]
		},
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path:"/safeedu",
					name: 'safeedu',
					component:()=>import("../views/safeedu/safeedu.vue")
				}
			]
		},
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path:"/safeedu2",
					name: 'safeedu2',
					component:()=>import("../views/safeedu/safeedu2.vue")
				}
			]
		},
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path:"/safeinput",
					name: 'safeinput',
					component:()=>import("../views/safeinput/safeinput.vue")
				}
			]
		},
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path:"/safeinput2",
					name: 'safeinput2',
					component:()=>import("../views/safeinput/safeinput2.vue")
				}
			]
		},
		{
			path:"/",
			name:"Layout",
			component:()=>import("../Layout/Layout"),
			children:[
				{
					path:"/safeinput3",
					name: 'safeinput3',
					component:()=>import("../views/safeinput/safeinput3.vue")
				}
			]
		},
	]
})
export default router